package chapter3.annBean;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import chapter3.annBean.UserDaoImp;
import chapter3.annBean.User;
@Service
public class UserService {
	@Resource
	public UserDaoImp userDao;
	public void addUser(User user){
		userDao.addUser(user);
	}
}
